-- GENERATED SPELL FOR [Officer Brady] --


function spell0_14439(pUnit, Event) --@Hooked Net,n/a--
pUnit:FullCastSpellOnTarget(14030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14439', 6500, 1)
end

function spell1_14439(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14439', 30290, 1)
end

function Sorts_14439(pUnit, Event)
local choix_sorts_14439 = math.random(0, 1)
if choix_sorts_14439 == 0 then
pUnit:RegisterEvent('spell0_14439', 1, 1)
end
if choix_sorts_14439 == 1 then
pUnit:RegisterEvent('spell1_14439', 1, 1)
end
end

function mob14439_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14439', math.random(1500, 3000), 1)
end

function mob14439_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14439_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14439_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14439, 1, 'mob14439_Action')
RegisterUnitEvent(14439, 2, 'mob14439_Leave')
RegisterUnitEvent(14439, 3, 'mob14439_Kill')
RegisterUnitEvent(14439, 4, 'mob14439_Die')
